#include <STC15F2K60S2.H>

static void I2C_Delay(unsigned char n);
void I2CStart(void);
void I2CStop(void);
void I2CSendByte(unsigned char byt);
unsigned char I2CReceiveByte(void);
unsigned char I2CWaitAck(void);
void I2CSendAck(unsigned char ackbit);
unsigned char AD_read(unsigned char addr);
void DA_read(unsigned char dat);
unsigned char EEPROM_read(unsigned char* write,unsigned char addr,unsigned char num);
void EEPROM_Write(unsigned char* writer,unsigned char addr,unsigned char num);